import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import * as API from "./api";

Vue.config.productionTip = false;
Vue.prototype.$API = API;

// emement-ui组件引入
import { Button, Calendar, Carousel, CarouselItem, Dialog } from "element-ui";


Vue.use(CarouselItem);
Vue.use(Calendar);
Vue.use(Button);
Vue.use(Carousel);
Vue.use(Dialog);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
